﻿namespace EyeOpen.TransparentLabel.Windows
{
	using System;
	using System.Windows.Forms;

	public partial class MainForm : Form
	{
		public MainForm()
		{
			InitializeComponent();

			SetStyle(
				ControlStyles.UserPaint | 
				ControlStyles.AllPaintingInWmPaint | 
				ControlStyles.OptimizedDoubleBuffer, 
				true);
		}

		private void HideLabelButton1Click(object sender, EventArgs e)
		{
			transparentLabel.AnimatedHide();
		}
	}
}
